<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>IN ADMIN PANEL | Powered by Minhpro</title>

<link rel="stylesheet" type="text/css" href="<?php echo base_url()?>public/admin/css/style.css" />
<link rel="stylesheet" type="text/css" href="<?php echo base_url()?>public/admin/css/ui.make.css" />
<link rel="stylesheet" type="text/css" href="<?php echo base_url()?>public/admin/css/ui.theme.css" />
<link rel="stylesheet" type="text/css" href="<?php echo base_url()?>public/admin/css/datepicker.css" />
<link rel="stylesheet" type="text/css" href="<?php echo base_url()?>public/admin/css/jdpicker.css" />
<link rel="stylesheet" type="text/css" href="<?php echo base_url()?>public/css/jquery.fancybox-1.3.4.css">
<script type="text/javascript" src="<?php echo base_url()?>public/admin/js/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>public/admin/js/jquery.validate.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>public/admin/js/ddaccordion.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>public/admin/js/ui.tabs.js"></script>

<script type="text/javascript" src="<?php echo base_url()?>public/admin/js/jdPicker.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>public/admin/js/jquery.autocomplete.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>public/ckeditor/ckeditor.js"></script>


<script type="text/javascript" src="<?php echo base_url()?>public/js/jquery.fancybox-1.3.4.pack.js"></script>

<script type="text/javascript">
ddaccordion.init({
	headerclass: "submenuheader", //Shared CSS class name of headers group
	contentclass: "submenu", //Shared CSS class name of contents group
	revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click", "clickgo", or "mouseover"
	mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
	collapseprev: true, //Collapse previous content (so only one open at any time)? true/false 
	defaultexpanded: [], //index of content(s) open by default [index1, index2, etc] [] denotes no content
	onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
	animatedefault: false, //Should contents open by default be animated into view?
	persiststate: true, //persist state of opened contents within browser session?
	toggleclass: ["", ""], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
	togglehtml: ["suffix", "<img src='<?php echo base_url();?>public/admin/images/plus.gif' class='statusicon' />", "<img src='<?php echo base_url();?>public/admin/images/minus.gif' class='statusicon' />"], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
	animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
	oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
		//do nothing
	},
	onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
		//do nothing
	}
})
</script>

<script type="text/javascript">


var language = 2;
$(document).ready(function(){
	
		$('#txt_birthday').jdPicker(
		{
			date_format:"dd/mm/YYYY",
			changeInput: function(dateString) {
			    this.input.val(dateString).change();
			    $('#txt_birthday').removeClass("hintText");
			    if(this.input.context.type!="hidden")
			    this.hide();
			    							    
  			}
		}
		);	
      
       
});
</script>


<script language="javascript" type="text/javascript" src="<?php echo base_url()?>public/admin/css/niceforms.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo base_url()?>public/admin/css/niceforms-default.css" />

</head>
<body>
<div id="main_container">

	<div class="header">
   		<?php echo $header;?>
    </div>    
    <div class="main_content">    
       <div class="menu">
         	<?php echo $menu;?>
       </div>             
     <div class="content">     
             
    	   <?php echo $content;?>
     </div><!-- end of right content-->
              
    <div class="clear"></div>
    </div> <!--end of main content-->
	
    
    <div class="footer">    
    	<?php echo $footer;?>
    </div>

</div>		
</body>
</html>